package com.spudtech.tween
{
    
    import flash.geom.*;
    import flash.display.*;
    
    import com.spudtech.*;
    
    
    public class SpudAngleTween extends SpudNumberTween
    {
        
        public function SpudAngleTween(start : Number,
                                       end : Number,
                                       step_count : uint,
                                       play_mode : uint = PLAY_ONCE,
                                       init_easer : Function = null,
                                       init_callback : Function = null)
        {
            super(start, end, step_count, play_mode, init_easer, init_callback);
            
        }
        
        
        override public function get currentVal() : Number
        {
            return SpudRoot.lerpAngle(startVal, endVal, step, stepCount);
            
        }
        
        
        override public function update() : void
        {
            super.update();
            
        }
        
    }
    
}
